package org.ResearchProject.service;


import org.ResearchProject.pojo.Tutor;
import org.ResearchProject.pojo.User;

import java.util.ArrayList;

/**
 * 2024-12-13-12:59
 */
public interface TutorService {
    Tutor selectByUsername(String username);

    void addTutor(User user);

    void updateTutor(User user);

    void updateTutorPwd(String newPassword, String username);

    ArrayList<Tutor> selectAll();

    ArrayList<Tutor> conditionSelect(Tutor tutor);

    Tutor selectByOpenid(String openid);
}
